package com.zdd.ehe.neo4j.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

/**
 * @version 1.0.0
 * @title: DiseaseNode
 * @author: HFLy
 * @description: 病虫害节点
 * @date: 10/3/2023 上午12:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiseaseNode {
    @Id
    private Integer id;
    @Property("虫病名称")
    private String name;
    private String ename;
    //介绍
    @Property("介绍")
    private String introduce;
    //危害症状
    @Property("危害症状")
    private String symptom;
    //发生原因
    @Property("发生原因")
    private String cause;
    //防治方法
    @Property("防治办法")
    private String measure;
    //图片
    @Property("图片")
    private String picture;

}
